package com.ktjy.thymeleaf.web;

import com.ktjy.thymeleaf.entity.SysUser;
import com.ktjy.thymeleaf.mapper.SysUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/user")
public class UserController {
//    @Autowired
//    private SysUserMapper sysUserMapper;
//
//    @RequestMapping("/list")
//    public List<SysUser> list() {
//        return sysUserMapper.selectList(null);
//    }
}
